#!/bin/bash

if [ ! -f /tmp/lock_populate_xenia_nerrs ]; then
  touch /tmp/lock_populate_xenia_nerrs
  #`../misc/xml2env.pl`
  cd /var/myscheduler/nusoap
  php getServiceNI.php
  ./processServiceNIDB.pl
  cd /var/myscheduler
#  ./xenia_sqlite_to_obskml.pl nerrs
 # ./obskml_to_html_content_sqlite.pl nerrs
  #perl /var/myscheduler/platform_status_new.pl all sensor
  rm -f /tmp/lock_populate_xenia_nerrs
fi
